﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Jesse_CookieBased.Models
{
    public class CurrentUser
    {

        //HttpContext.User.FindFirst(ClaimTypes.Name);
        //    HttpContext.User.FindFirst("UserName");
        //    HttpContext.User.FindFirst(ClaimTypes.Role);
        //    HttpContext.User.FindFirst(ClaimTypes.MobilePhone);
        //    HttpContext.User.FindFirst(ClaimTypes.Email);
        //    HttpContext.User.FindFirst("Remark");

        public long Id { get; set; }

        public string UserName { get; set; }

        public string Name { get; set; }

        public string Role { get; set; }

        public string MobilePhone { get; set; }

        public string Email { get; set; }

        public string Remark { get; set; }
    }
}
